package io.renren.modules.weixin.Service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.weixin.entity.StatisticsEntity;
import io.renren.modules.weixin.entity.ZbAdminEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ZbAdminService extends IService<ZbAdminEntity> {
     PageUtils queryPage(Map<String, Object> params);

     void configzb(ZbAdminEntity zbparams);

     void deleteByzbCodeAndcreator(String zbCode, String creator);

     List<ZbAdminEntity> selectByzbCode(String zbCode);

     List<ZbAdminEntity> selectBycreator(String creator);

     ZbAdminEntity selectByzbCodeAndcreator(String zbCode, String creator);

     void updateStatusOff(String creator);

     void updateStatusOn(String creator);

     void updateByzbCodeAndcreator(ZbAdminEntity zbparams);

     void updateOkByzbCodeAndcreater(int ok, String zbCode, String creator);

     void updateErrorByzbCodeAndcreater(int error, String zbCode, String creator);

     void updateAlertByzbCodeAndcreater(int alert, String zbCode, String creator);

     void updateWarningByzbCodeAndcreater(int warning, String zbCode, String creator);

     void updateStatusOpen(String zbCode, String creator);

     void updateStatusClose(String zbCode, String creator);

     StatisticsEntity statisticsAdmin(String creator);

     List<ZbAdminEntity> selectList();
}
